from typing import List

class Solution:
    def answer(self, prices: List[int]) -> int:
        